<?php

class MainIndexPresenter extends Presenter
{
	public function HandlePost($values)
	{
		$this->view->Set('result', '<pre>'. print_r($values, true) .'</pre>');
	}
	
	public function HandleJSON($values)
	{
		Redirect::To(array('page' => 'AJAX'));
	}
}

?>